<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
	<%@ include file= "_meta.jsp"%>
	<link title="style1" rel="stylesheet" href="${pageContext.request.contextPath}/css/add_course.css" type="text/css" />
</head>
<body>

<%@ include file= "_menu.jsp"%>
<%@ include file= "_header.jsp"%>
<div class="form_content">
	<div id="test">

		<fieldset>
			<legend>录入学生</legend>

			<div class="form-row">
				<div class="field-label"><label for="sname">学生姓名</label>:</div>
				<div class="field-widget"><input name="sname" id="sname" class="required" title="Enter your name"/>
				</div>
			</div>

			<div class="form-row">
				<div class="field-label"><label for="sid">学号</label>:</div>
				<div class="field-widget"><input name="sid" id="sid" class="required validate-email"
												 title="Enter your name"/></div>
			</div>
			<div class="form-row">
				<div class="field-label"><label for="sex">性别</label>:</div>
				<div class="field-widget">
					<select class="required validate-email" id="sex">

						<option value="女">女</option>

						<option selected value="男">男</option>

					</select>
				</div>
			</div>


			<div class="form-row">
				<div class="field-label"><label for="major">专业</label>:</div>
				<div class="field-widget">
					<select id="major" name="major" class="validate-selection" title="Choose your department">
						<c:forEach var="major" items="${majors}" varStatus="trow">
							<option value="${major.major_name}"
									major_id="${major.major_id}">${major.major_name}</option>
						</c:forEach>
					</select>
				</div>
			</div>

			<div class="form-row">
				<div class="field-label"><label for="max_num">最大选课数量</label>:</div>
				<div class="field-widget"><input name="max_num" id="max_num" class="required validate-password"
												 title="Enter a password greater than 6 characters"/></div>
			</div>
			<div class="form-row">
				<div class="field-label"><label for="birthday">出生日期</label>:</div>
				<div class="field-widget">
					<input type="text" name="birthday" onfocus="WdatePicker(	)"
						   id="birthday" class="table_in_input input-text Wdate">
					<%--<input name="birthday" value="1996-9-8" type="text" id="birthday" required
												 class="easyui-datebox required validate-password"
												 title="Enter a password greater than 6 characters"/>--%></div>
			</div>

		</fieldset>

		<input type="submit" class="submit" value="提交"/> <input class="reset" type="button" value="重置"/>
	</div>
</div>
<%@ include file="_footer.jsp"%>
<script src="${pageContext.request.contextPath}/js/myjs/add_student.js"></script>
</body>
</html>